
    *,html{
        margin:0;
        padding:0;
    }
    body{
        background: #E6E7E8;
    }
    #header {
        position: fixed; /* 固定在页面顶部 */
        top: 0;
        left: 0;
        z-index: 10000; /* 设置较高的z-index，确保覆盖其他内容 */
        width: 100%;
        min-width: 600px; /* 最小宽度为600像素 */
        height: 40px; /* 增加高度，适应内容 */
        background: #BBBBBB; /* 背景颜色 */
    }

   #headerbox {
    background-color: #343a40;
    padding: 10px 0;
}

#title a {
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

#menu {
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li a:hover {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 4px;
}

/* Responsive design */
@media (max-width: 768px) {
    #headerbox {
        text-align: center;
    }

    #menu {
        justify-content: center;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin-left: 0;
        margin-top: 10px;
    }
}

    #head_2 img{
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }
    /* 修改选项卡的颜色 */
    .custom-pills .nav-link {
        background-color: #999191;
        color: #ffffff;
    }
    .custom-pills .nav-link.active {
        background-color: #ffffff;
        color: #706158;
    }
    /* 设置推荐的大小和样式 */
    #home, #menu1, #menu2, #menu3, #menu4, #menu5, a{
        color: black;
    }
    #home img{
        width: 160px;
        height: 233px;
    }
    #menu1 img{
        width: 160px;
        height: 233px;
    }
    #menu2 img{
        width: 160px;
        height: 233px;
    }
    #menu3 img{
        width: 160px;
        height: 233px;
    }
    #menu4 img{
        width: 160px;
        height: 233px;
    }
    #menu5 img{
        width: 160px;
        height: 233px;
    }
    #star_1 img{
        width: 100px;
        height: 100px;
        border-radius: 10px;
    }
    #foot img{
        width: 130px;
        height: 145px;
    }
    #foot{
        padding: 0;
        margin: 0;
    }
    a{
        text-decoration: none;
    }
    #talk_about img{
        width: 140px;
        height: 84px;
    }
    p{
        font-size: 14px;
    }
    ul, li {
    list-style: none;
    }
    #head_1 p{
        font-size: 30px;
    }
    .dropdown {
            position: relative;
            display: inline-block;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            padding: 12px 16px;
            z-index: 1;
            right: 0; /* 设置向右展开 */
        }

        .dropdown:hover .dropdown-content {
            display: block;
        }
        #login div{
            color: #000;
            background-color: #999191;
        }
        #head_1 p {
            font-size: 23px;
        }

